package com.example.letgo.information;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.letgo.R;

import io.rong.imkit.RongIM;

/**
 * Created by hbl on 2018/2/3.
 */

public class ConversationActivity extends FragmentActivity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.information_conversation);
        ImageView iv_return = findViewById(R.id.iv_return);
        TextView textView = findViewById(R.id.tv_title);
        String title = getIntent().getData().getQueryParameter("title");

        Log.e("eg:title>>>:",title);
        textView.setText(title);
        //回到会话列表
        iv_return.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ConversationActivity.this.finish();
            }
        });
    }
}
